package com.ht.baselibs.core;

/**
 * Created by huangtao on 16/6/24.
 */
public class EventCode {

    //网络状态变化
    public static final int EVENT_CODE_NET_STATE_CHANGE = 1000;


    /**************************下载APK*******************************/
    //监听apk下载进度变化
    public static final int EVENT_CODE_UPDATE_APK_PROGRESS = 2000;
    //下载完成
    public static final int EVENT_CODE_UPDATE_APK_END = 2001;
    //下载apk文件失败
    public static final int EVENT_CODE_UPDATE_APK_ERROR = 2002;


    /**************************IM*******************************/
    //登陆成功
    public static final int EVENT_CODE_START_LOGIN = 0;
    //退出成功
    public static final int EVENT_CODE_START_LOGOUT = 1;
    //绑定二维码
    public static final int EVENT_CODE_START_BIND_QRCODE_SHOP_ID = 2;
    //审核成功
    public static final int EVENT_CODE_AUTHOR_SUCCESS = 3;

    //余额现实发生变化
    public static final int EVENT_CODE_BALANCE_CHANGE = 4;
    //个推掉线
    public static final int EVENT_CODE_GETUI_LINE = 5;
    //个推重连
    public static final int EVENT_CODE_GETUI_ONLINE = 6;
    //登陆超时
    public static final int HSY_REQUEST_CODE_EXPIRE = 7;
    //用户未登陆
    public static final int HSY_REQUEST_CODE_UNLOGIN = 8;
    //刷新我的
    public static final int REFRESH = 9;
    public static final int EVENT_REFRESH_HOMEFRAGMENT_TITLE = 10;
    public static final int EVENT_REFRESH_SELFFRAGMENT_BALANCE = 11;
    public static final int EVENT_COLECT_ERROR = 12;//收款失败
    public static final int EVENT_REFRESH_SALEMANAGER = 13;//刷新店员管理页面
    public static final int EVENT_REFRESH_SHENHE_STATE = 14;//刷新审核状态
    public static final int EVENT_REFRESH_PAYSUCCESS = 15;//收款成功
    public static final int EVENT_REFRESH_SHOP_MANAGER = 16;//刷新店铺管理页
    public static final int EVENT_REFRESH_MEMBER_CARD = 17;//刷新会员卡
    public static final int EVENT_REFRESH_MEMBER_CARD_DETAIL = 18;//刷新会员卡
    public static final int EVENT_CODE_BANKNAME = 19;//支行
    public static final int EVENT_CODE_SHARE_RED_HINT_SHOW = 20;//主页消息红点
    public static final int EVENT_CODE_NOTIFY_RED_HINT_SHOW = 21;//主页消息红点
    public static final int EVENT_CODE_FINISH_ACTIVITY = 22;
    public static final int GET_MONEY_GO_BACK = 23;//主页消息红点
    //审核不通过
//    public static final int EVENT_CODE_AUTHOR_SUCCESS = 3;


}